home *** CD-ROM | disk | FTP | other *** search
- Path: news.primenet.com!not-for-mail
- From: kj7bg@primenet.com (Bob White)
- Newsgroups: comp.lang.c++
- Subject: Re: Compiler bug in Borland C++ 5.0
- Date: 12 Apr 1996 13:11:02 -0700
- Organization: Primenet Services for the Internet
- Sender: root@primenet.com
- Message-ID: <4kmdcm$6vr@nnrp1.news.primenet.com>
- References: <316A22E0.47B6@ee.oulu.fi> <4kglku$6lm@druid.borland.com>
- X-Posted-By: ip201.boi.primenet.com
- X-Newsreader: WinVN 0.99.7
- MIME-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
-
- IMHO strategic libraries such as OWL should compile with any alignment. If
- that means the alignment is set in the header files via pragmas for that
- library so be it. Just my 2 cents.
- Bob
-
-
- In article <4kglku$6lm@druid.borland.com>, pete@borland.com says...
- >
- >In article <316A22E0.47B6@ee.oulu.fi>, artsi@ee.oulu.fi says...
- >>
- >>Try setting data aligment to other than byte and compile OWL project.
- >>Virtual function InitMainWindow is not called with this setup (Double
- >>word or quad word). With word aligment program crashes. Byte aligment
- >>always work.
- >>
- >>I have Borland C++ 5.0 with patch 1.
- >
- >OWL was built with byte alignment. You cannot change alignment piecemeal: all
- >of the pieces that interact must agree on how structures are laid out. In
- >order to use a different alignment you would have to recompile the OWL DLL
- with
- >the new alignment as well. Not recommended.
- >
-
-